import {
  post
} from '@/utils/request'

const prefix = '/trade'

/**
 * 批量更新购物车选中状态
 */
export const createPaymodeOrder = function (data) {
  return post(`${prefix}/order/create`, data, true)
}

/**
 * 批量更新购物车选中状态
 */
export const getPaymentOrder = function (data) {
  return post(`${prefix}/payment/order`, data, true)
}
